﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Resources/TPLOAMPage.Master" AutoEventWireup="true"
    CodeBehind="adminmanagementtools.aspx.cs" Inherits="TPLOAWebClient.adminmanagementtools" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 41px;
        }
    </style>
  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navbarPHolder" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Button ID="profileBtn" runat="server" Font-Bold="False" OnClick="profileBtn_Click"
                Text="Profile" CausesValidation="False" CssClass="navbtnCSS" />
            <asp:Button ID="managementtoolsBtn" runat="server" Font-Bold="False" OnClick="managementtoolsBtn_Click"
                Text="Management Tools" CausesValidation="False" CssClass="navbtnCSS" />
            <asp:Button ID="faqBtn" runat="server" Font-Bold="False" OnClick="faqBtn_Click" Text="FAQ"
                CausesValidation="False" CssClass="navbtnCSS" />
            <asp:Button ID="otherservicesBtn" runat="server" Font-Bold="False" OnClick="otherservicesBtn_Click"
                Text="Other Services" CausesValidation="False" CssClass="navbtnCSS" />
            <asp:Button ID="LogoutBtn" runat="server" Font-Bold="False" OnClick="LogoutBtn_Click"
                Text="Logout" CausesValidation="False" CssClass="navbtnCSS" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="sectionTitlePHolder" runat="server">
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <ContentTemplate>
            Management Tools
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainContentPHolder" runat="server">
    <asp:UpdatePanel ID="UpdatePanel5" runat="server">
        <ContentTemplate>
            <asp:RadioButtonList ID="chooseRbl" runat="server" RepeatDirection="Horizontal" AutoPostBack="True"
                OnSelectedIndexChanged="chooseRbl_SelectedIndexChanged">
                <asp:ListItem Selected="True">Create</asp:ListItem>
                <asp:ListItem>Update</asp:ListItem>
            </asp:RadioButtonList>
            <asp:RadioButtonList ID="peopleRbl" runat="server" RepeatDirection="Horizontal" AutoPostBack="True"
                OnSelectedIndexChanged="peopleRbl_SelectedIndexChanged">
                <asp:ListItem Selected="True">Staff</asp:ListItem>
                <asp:ListItem>Student</asp:ListItem>
            </asp:RadioButtonList>
            <asp:Panel ID="Panel1" runat="server">
                <table class="style1">
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Staff </b>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>StaffID* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstaffidTbx" runat="server" MaxLength="10"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="staffidTbx0_TextBoxWatermarkExtender" runat="server"
                                TargetControlID="cstaffidTbx" WatermarkText="Type StaffID here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="staffidTbx0_FilteredTextBoxExtender" runat="server"
                                FilterType="LowercaseLetters,Numbers" TargetControlID="cstaffidTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="cstaffidTbx"
                                ErrorMessage="Please enter Staff StaffID" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Name* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstaffnameTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="staffnameTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="cstaffnameTbx" WatermarkText="Type Full Name here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="staffnameTbx0_FilteredTextBoxExtender" runat="server"
                                FilterType="Custom,UppercaseLetters,LowercaseLetters" TargetControlID="cstaffnameTbx"
                                ValidChars=" " />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="cstaffnameTbx"
                                ErrorMessage="Please enter Staff Name" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Email* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstaffemailTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="staffemailTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="cstaffemailTbx" WatermarkText="Type Email here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="staffemailTbx0_FilteredTextBoxExtender"
                                runat="server" FilterType="Custom,UppercaseLetters,LowercaseLetters,Numbers"
                                TargetControlID="cstaffemailTbx" ValidChars="@._" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="cstaffemailTbx"
                                ErrorMessage="Please enter Staff Email" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>CourseCode* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="cstaffcoursecodeRbl" runat="server">
                                <asp:ListItem Selected="True">IT</asp:ListItem>
                                <asp:ListItem>CDS</asp:ListItem>
                                <asp:ListItem>MNS</asp:ListItem>
                                <asp:ListItem>FBI</asp:ListItem>
                                <asp:ListItem>GET</asp:ListItem>
                                <asp:ListItem>DFS</asp:ListItem>
                                <asp:ListItem>IMI</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>ApprovePermissions* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="capprovepermissionRbl" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">Yes</asp:ListItem>
                                <asp:ListItem>No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Admin Rights* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="cadminrightRbl" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">Yes</asp:ListItem>
                                <asp:ListItem>No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2">
                            &nbsp;
                        </td>
                        <td class="style2">
                            <asp:Button ID="createstaffBtn" runat="server" OnClick="createstaffBtn_Click" Text="Create Staff" onclientclick="return confirm('Confirm Create Staff?');"
                                CssClass="btnCSS" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                            <asp:Label ID="staffcreateLbl" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="Panel2" runat="server">
                <table class="style1">
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Student </b>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Admin No* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstudentadminnoTbx" runat="server" MaxLength="10"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server"
                                TargetControlID="cstudentadminnoTbx" WatermarkText="Type Admin Number here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server"
                                FilterType="UppercaseLetters,Numbers" TargetControlID="cstudentadminnoTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="cstudentadminnoTbx"
                                ErrorMessage="Please enter Student Admin No" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Name* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstudentnameTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" runat="server"
                                TargetControlID="cstudentnameTbx" WatermarkText="Type Full Name here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server"
                                FilterType="Custom,UppercaseLetters,LowercaseLetters" TargetControlID="cstudentnameTbx"
                                ValidChars=" " />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ControlToValidate="cstudentnameTbx"
                                ErrorMessage="Please enter Student Name" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Email* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstudentemailTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender6" runat="server"
                                TargetControlID="cstudentemailTbx" WatermarkText="Type Email here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender7" runat="server"
                                FilterType="Custom,UppercaseLetters,LowercaseLetters,Numbers" TargetControlID="cstudentemailTbx"
                                ValidChars="@._" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="cstudentemailTbx"
                                ErrorMessage="Please enter Student Email" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>CourseCode* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="cstudentcoursecodeRbl" runat="server">
                                <asp:ListItem Selected="True">IT</asp:ListItem>
                                <asp:ListItem>CDS</asp:ListItem>
                                <asp:ListItem>MNS</asp:ListItem>
                                <asp:ListItem>FBI</asp:ListItem>
                                <asp:ListItem>GET</asp:ListItem>
                                <asp:ListItem>DFS</asp:ListItem>
                                <asp:ListItem>IMI</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>CareGroup* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstudentcaregroupTbx" runat="server" MaxLength="6"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender9" runat="server"
                                TargetControlID="cstudentcaregroupTbx" WatermarkText="Type CareGroup here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender8" runat="server"
                                FilterType="Custom,Numbers" TargetControlID="cstudentcaregroupTbx" ValidChars="C" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="cstudentcaregroupTbx"
                                ErrorMessage="Please enter Student CareGroup" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Home Number* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstudenthomeTbx" runat="server" MaxLength="8"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender11" runat="server"
                                TargetControlID="cstudenthomeTbx" WatermarkText="Type House Number here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="ftbe" runat="server" FilterType="Custom, Numbers"
                                TargetControlID="cstudenthomeTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="cstudenthomeTbx"
                                ErrorMessage="Please enter Student Home Number" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Handphone Number* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="cstudenthandphoneTbx" runat="server" MaxLength="8"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender13" runat="server"
                                TargetControlID="cstudenthandphoneTbx" WatermarkText="Type Student Handphone Number here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
                                FilterType="Custom, Numbers" TargetControlID="cstudenthandphoneTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="cstudenthandphoneTbx"
                                ErrorMessage="Please enter Student Handphone Number" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Classification </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="cclassificationRbl" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">Freshman</asp:ListItem>
                                <asp:ListItem>Junior</asp:ListItem>
                                <asp:ListItem>Senior</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>&nbsp; </b>
                        </td>
                        <td>
                            <asp:Button ID="createstudentBtn" runat="server" OnClick="createstudentBtn_Click" onclientclick="return confirm('Confirm Create Student?');"
                                Text="Create Student" CssClass="btnCSS"  />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="studentcreateLbl" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="Panel3" runat="server">
                <br />
                <table class="style1">
                    <tr>
                        <td colspan="2">
                            Retrieve Staff
                            <br />
                            <asp:DropDownList ID="staffDdl" runat="server" AutoPostBack="True">
                            </asp:DropDownList>
                            <asp:Button ID="staffretrieveBtn" runat="server" Text="Retrieve" OnClick="staffretrieveBtn_Click"
                                CausesValidation="False" />
                            <asp:Label ID="staffretrieveLbl" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Staff </b>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>StaffID* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="staffidTbx" runat="server" MaxLength="10"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server"
                                TargetControlID="staffidTbx" WatermarkText="Type StaffID here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server"
                                FilterType="LowercaseLetters,Numbers" TargetControlID="staffidTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ControlToValidate="staffidTbx"
                                ErrorMessage="Please enter Staff StaffID" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Name* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="staffnameTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" runat="server"
                                TargetControlID="staffnameTbx" WatermarkText="Type Full Name here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender5" runat="server"
                                FilterType="Custom,UppercaseLetters,LowercaseLetters" TargetControlID="staffnameTbx"
                                ValidChars=" " />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server" ControlToValidate="staffnameTbx"
                                ErrorMessage="Please enter Staff Name" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Email* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="staffemailTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender5" runat="server"
                                TargetControlID="staffemailTbx" WatermarkText="Type Email here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server"
                                FilterType="Custom,UppercaseLetters,LowercaseLetters,Numbers" TargetControlID="staffemailTbx"
                                ValidChars="@._" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server" ControlToValidate="staffemailTbx"
                                ErrorMessage="Please enter Staff Email" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>CourseCode* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="staffcoursecodeRbl" runat="server">
                                <asp:ListItem Selected="True">IT</asp:ListItem>
                                <asp:ListItem>CDS</asp:ListItem>
                                <asp:ListItem>MNS</asp:ListItem>
                                <asp:ListItem>FBI</asp:ListItem>
                                <asp:ListItem>GET</asp:ListItem>
                                <asp:ListItem>DFS</asp:ListItem>
                                <asp:ListItem>IMI</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>ApprovePermissions* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="approvepermissionRbl" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">Yes</asp:ListItem>
                                <asp:ListItem>No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Admin Rights* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="adminrightRbl" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">Yes</asp:ListItem>
                                <asp:ListItem>No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button ID="updatestaffBtn" runat="server" OnClick="updatestaffBtn_Click" Text="Update Staff" CssClass="btnCSS" onclientclick="return confirm('Confirm Update Staff?');" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                            <asp:Label ID="staffupdateLbl" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
                <br />
            </asp:Panel>
            <asp:Panel ID="Panel4" runat="server">
                Retrieve Student<br />
                <asp:DropDownList ID="studentDdl" runat="server">
                </asp:DropDownList>
                <asp:Button ID="studentretrieveBtn" runat="server" Text="Retrieve" CausesValidation="False"
                    OnClick="studentretrieveBtn_Click" />
                <asp:Label ID="studentretrieveLbl" runat="server" ForeColor="Red"></asp:Label>
                <br />
                <table class="style1">
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Student </b>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Admin No* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="studentadminnoTbx" runat="server" MaxLength="10"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="studentadminnoTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="studentadminnoTbx" WatermarkText="Type Admin Number here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="studentadminnoTbx0_FilteredTextBoxExtender"
                                runat="server" FilterType="UppercaseLetters,Numbers" TargetControlID="studentadminnoTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator22" runat="server" ControlToValidate="studentadminnoTbx"
                                ErrorMessage="Please enter Student Admin No" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Name* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="studentnameTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="studentnameTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="studentnameTbx" WatermarkText="Type Full Name here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="studentnameTbx0_FilteredTextBoxExtender"
                                runat="server" FilterType="Custom,UppercaseLetters,LowercaseLetters" TargetControlID="studentnameTbx"
                                ValidChars=" " />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator23" runat="server" ControlToValidate="studentnameTbx"
                                ErrorMessage="Please enter Student Name" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Email* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="studentemailTbx" runat="server" MaxLength="30"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="studentemailTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="studentemailTbx" WatermarkText="Type Email here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="studentemailTbx0_FilteredTextBoxExtender"
                                runat="server" FilterType="Custom,UppercaseLetters,LowercaseLetters,Numbers"
                                TargetControlID="studentemailTbx" ValidChars="@._" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator24" runat="server" ControlToValidate="studentemailTbx"
                                ErrorMessage="Please enter Student Email" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>CourseCode* </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="studentcoursecodeRbl" runat="server">
                                <asp:ListItem Selected="True">IT</asp:ListItem>
                                <asp:ListItem>CDS</asp:ListItem>
                                <asp:ListItem>MNS</asp:ListItem>
                                <asp:ListItem>FBI</asp:ListItem>
                                <asp:ListItem>GET</asp:ListItem>
                                <asp:ListItem>DFS</asp:ListItem>
                                <asp:ListItem>IMI</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>CareGroup* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="studentcaregroupTbx" runat="server" MaxLength="6"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="studentcaregroupTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="studentcaregroupTbx" WatermarkText="Type CareGroup here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="studentcaregroupTbx0_FilteredTextBoxExtender"
                                runat="server" FilterType="Custom,Numbers" TargetControlID="studentcaregroupTbx"
                                ValidChars="C" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator25" runat="server" ControlToValidate="studentcaregroupTbx"
                                ErrorMessage="Please enter Student CareGroup" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Home Number* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="studenthomeTbx" runat="server" MaxLength="8"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="studenthomeTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="studenthomeTbx" WatermarkText="Type House Number here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="studenthomeTbx0_FilteredTextBoxExtender"
                                runat="server" FilterType="Custom, Numbers" TargetControlID="studenthomeTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator26" runat="server" ControlToValidate="studenthomeTbx"
                                ErrorMessage="Please enter Student Home Number" ForeColor="Red" 
                                Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ControlToValidate="studenthomeTbx" 
                                ErrorMessage="Your Home Phone is not 8 digits long" ForeColor="Red" 
                                ValidationExpression=".{6}.*"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Handphone Number* </b>
                        </td>
                        <td>
                            <asp:TextBox ID="studenthandphoneTbx" runat="server" MaxLength="8"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="studenthandphoneTbx0_TextBoxWatermarkExtender"
                                runat="server" TargetControlID="studenthandphoneTbx" WatermarkText="Type StaffID here" />
                            <ajaxToolkit:FilteredTextBoxExtender ID="studenthandphoneTbx0_FilteredTextBoxExtender"
                                runat="server" FilterType="Custom, Numbers" TargetControlID="studenthandphoneTbx" />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator27" runat="server" ControlToValidate="studenthandphoneTbx"
                                ErrorMessage="Please enter Student Handphone Number" ForeColor="Red" 
                                Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                ControlToValidate="studenthandphoneTbx" 
                                ErrorMessage="Your HandPhone Phone is not 8 digits long" ForeColor="Red" 
                                ValidationExpression=".{6}.*"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Classification </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="classificationRbl" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">Freshman</asp:ListItem>
                                <asp:ListItem>Junior</asp:ListItem>
                                <asp:ListItem>Senior</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>&nbsp; </b>
                        </td>
                        <td>
                            <asp:Button ID="UpdatestudentBtn" runat="server" OnClick="UpdatestudentBtn_Click" CssClass="btnCSS" onclientclick="return confirm('Confirm Update Student?');"
                                Text="Update Student" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Label ID="studentupdateLbl" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                </table>
                <br />
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
    <br />
</asp:Content>
